
<div class="homeright col-lg-3 col-md-3">
  <% if(user){%>
  <section class="index-gt">
    <div class="bg"></div>
    <a class="name" href="#"><img src="/images/touxiang.png" alt=""></a>
    <p>雾山轻语</p>
    <div class="weibo">
      <a href="#">我的微博</a>|<a href="#">我的相册</a>
    </div>
  </section>
  <% }else{%>
  <form action="/" method="post">
    <h4>账号登录</h4>
    <input type="text"name="name" placeholder="请输入用户名/邮箱">
    <input type="password"name="password" placeholder="请输入密码"><br>
    <input type="submit" value="登  录">
  </form>
  <% }%>
</div>
